import { createApp } from 'vue';
import { installDirective } from '@/config/component_config/custom_config/directives/directive';
import { installWindComponent } from '@/config/component_config/custom_config/wind_component/wind_component_config';

/**
 * 安装element-plus组件
 * @param app 要安装的app
 */
function installCustomConfig (app: ReturnType<typeof createApp>) {
  installWindComponent(app);
  installDirective(app);
}

export default installCustomConfig;
